class ScrollCameraPawn extends xPawn;



//Not being used atm
function bool SpecialCalcView(out Actor ViewActor, out vector CameraLocation, out rotator CameraRotation)
{

   local vector CamLookAt, HitLocation, HitNormal, OffsetVector;
   local ScrollerController sc;
   log('Doing Special view');

   sc = ScrollerController(Controller);

   sc.bBehindView = true;

   CamLookAt = sc.Pawn.Location;
   CamLookAt.Z += EyeHeight;


   CameraRotation.Yaw += 16384;

   //CameraLocation = CamLookAt >> CameraRotation;

   if( Trace( HitLocation, HitNormal, CameraLocation, CamLookAt, false,
                                            vect(10, 10, 10) ) != None )
   {
      CameraLocation = HitLocation;
   }

   return true;
}


defaultproperties
{
    bSpecialCalcView = false;
}
